.class Lcom/nemustech/regina/ElementLocator$4;
.super Ljava/lang/Object;
.source "ElementLocator.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/regina/ElementLocator;->showWorkspaceNameView(I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementLocator;

.field final synthetic val$index:I

.field final synthetic val$workspaceNameView:Landroid/widget/TextView;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ElementLocator;ILandroid/widget/TextView;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 374
    iput-object p1, p0, Lcom/nemustech/regina/ElementLocator$4;->this$0:Lcom/nemustech/regina/ElementLocator;

    iput p2, p0, Lcom/nemustech/regina/ElementLocator$4;->val$index:I

    iput-object p3, p0, Lcom/nemustech/regina/ElementLocator$4;->val$workspaceNameView:Landroid/widget/TextView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .prologue
    .line 376
    iget-object v2, p0, Lcom/nemustech/regina/ElementLocator$4;->this$0:Lcom/nemustech/regina/ElementLocator;

    invoke-static {v2}, Lcom/nemustech/regina/ElementLocator;->access$200(Lcom/nemustech/regina/ElementLocator;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getReginaPref()Lcom/nemustech/regina/ReginaPreference;

    move-result-object v2

    iget v3, p0, Lcom/nemustech/regina/ElementLocator$4;->val$index:I

    iget-object v4, p0, Lcom/nemustech/regina/ElementLocator$4;->this$0:Lcom/nemustech/regina/ElementLocator;

    invoke-static {v4}, Lcom/nemustech/regina/ElementLocator;->access$200(Lcom/nemustech/regina/ElementLocator;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v4

    invoke-virtual {v4}, Lcom/nemustech/regina/ReginaLauncher;->isSecretMode()Z

    move-result v4

    invoke-virtual {v2, v3, v4}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceNameByIndex(IZ)Ljava/lang/String;

    move-result-object v1

    .line 377
    .local v1, name:Ljava/lang/String;
    iget-object v2, p0, Lcom/nemustech/regina/ElementLocator$4;->val$workspaceNameView:Landroid/widget/TextView;

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 379
    new-instance v0, Landroid/view/animation/AlphaAnimation;

    const/4 v2, 0x0

    const/high16 v3, 0x3f80

    invoke-direct {v0, v2, v3}, Landroid/view/animation/AlphaAnimation;-><init>(FF)V

    .line 380
    .local v0, animShow:Landroid/view/animation/Animation;
    const-wide/16 v2, 0x3e8

    invoke-virtual {v0, v2, v3}, Landroid/view/animation/Animation;->setDuration(J)V

    .line 382
    iget-object v2, p0, Lcom/nemustech/regina/ElementLocator$4;->val$workspaceNameView:Landroid/widget/TextView;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setVisibility(I)V

    .line 383
    new-instance v2, Lcom/nemustech/regina/ElementLocator$4$1;

    invoke-direct {v2, p0}, Lcom/nemustech/regina/ElementLocator$4$1;-><init>(Lcom/nemustech/regina/ElementLocator$4;)V

    invoke-virtual {v0, v2}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 415
    iget-object v2, p0, Lcom/nemustech/regina/ElementLocator$4;->val$workspaceNameView:Landroid/widget/TextView;

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->startAnimation(Landroid/view/animation/Animation;)V

    .line 416
    return-void
.end method
